import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import './styles/index.less'
import 'amfe-flexible'
import './vant'
import '@/utils/storage'
import '@/utils/day'
//在需要的某个接口的时候,按需导入指定的接口
import { getChannelsApi } from '@/api/Home'
getChannelsApi()

Vue.config.productionTip = false

new Vue({
  //一单挂载之后,所有组件都有$store,router这个属性表示仓库实例
  router,
  store,
  render: h => h(App)
}).$mount('#app')
